from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeWedge
from OCC.Core.gp import gp_Pnt
from OCC.Core.gp import gp_Ax2,gp_Dir
my_wedge = BRepPrimAPI_MakeWedge(gp_Ax2(gp_Pnt(0, 0,0), gp_Dir(0,0,1)),8,4,4,-1,2,-.5,2).Shape()
if __name__ == "__main__":
    from OCC.Display.SimpleGui import init_display
    display, start_display, add_menu, add_function_to_menu = init_display()
    display.DisplayShape(my_wedge, update=True)
    start_display()
